import http from '@/utils/http'

const URL = {
  // 获取移动设备列表
  getMobileDeviceList: '/mobileDevice/list',
  // 删除移动设备
  deleteMobileDevice: '/mobileDevice/del',
  // 禁用移动设备
  disableMobileDevice: '/mobileDevice/status'
}

export function getMobileDeviceList(data) {
  return http({
    url: URL.getMobileDeviceList,
    method: 'post',
    data
  })
}

export function deleteMobileDevice(data) {
  return http({
    url: URL.deleteMobileDevice,
    method: 'post',
    data
  })
}

export function disableMobileDevice(data) {
  return http({
    url: URL.disableMobileDevice,
    method: 'post',
    data
  })
}
